home *** CD-ROM | disk | FTP | other *** search
- *** ./man/Makefile Wed Aug 24 11:52:00 1994
- --- ../procmail-3.11pre7/./man/Makefile Fri Aug 21 03:14:10 1998
- ***************
- *** 1,16 ****
- - #$Id: Makefile,v 1.7 1994/08/24 18:52:00 berg Exp $
-
- ! all: init
- ! $(MAKE) make $@
-
- ! # The only real thing that can be made right now is:
-
- ! init:
- ! cd ..; $(MAKE) make init
-
- .PRECIOUS: Makefile
-
- ! Makefile makefile Makefiles makefiles: init
-
- ! procmail.1 procmailrc.5 procmailsc.5 procmailex.5 lockfile.1 formail.1: init
- ! $(MAKE) make $@
- --- 1,151 ----
-
- ! LOCKINGTEST=__defaults__
-
- ! #LOCKINGTEST=/tmp . # Uncomment and add any directories you see fit.
- ! # If LOCKINGTEST is defined, autoconf will NOT
- ! # prompt you to enter additional directories.
- ! # See INSTALL for more information about the
- ! # significance of the locking tests.
- !
- ! ########################################################################
- ! # Only edit below this line if you *think* you know what you are doing #
- ! ########################################################################
- !
- ! #LOCKINGTEST=100 # Uncomment (and change) if you think you know
- ! # it better than the autoconf lockingtests.
- ! # This will cause the lockingtests to be hotwired.
- ! # 100 to enable fcntl()
- ! # 010 to enable lockf()
- ! # 001 to enable flock()
- ! # Or them together to get the desired combination.
- !
- ! # Optional system libraries we search for
- ! SEARCHLIBS = -lm -ldir -lx -lsocket -lnet -linet -lnsl_s -lnsl_i -lnsl -lsun \
- ! -lgen -lsockdns -ldl
- ! # -lresolv # not really needed, is it?
- !
- ! # Informal list of directories where we look for the libraries in SEARCHLIBS
- ! LIBPATHS=/lib /usr/lib /usr/local/lib
- !
- ! GCC_WARNINGS = -O2 -pedantic -Wreturn-type -Wunused -Wformat -Wtraditional \
- ! -Wpointer-arith -Wconversion -Waggregate-return \
- ! #-Wimplicit -Wshadow -Wid-clash-6 #-Wuninitialized
- !
- ! # The place to put your favourite extra cc flag
- ! CFLAGS0 = -O #$(GCC_WARNINGS)
- ! LDFLAGS0= -s
- ! # Read my libs :-)
- ! LIBS=
- !
- ! CFLAGS1 = $(CFLAGS0) #-posix -Xp
- ! LDFLAGS1= $(LDFLAGS0) $(LIBS) #-lcposix
- !
- ! ####CC = cc # gcc
- ! # object file extension
- ! O = o
- ! RM = /bin/rm -f
- ! MV = mv -f
- ! LN = ln
- ! BSHELL = /bin/sh
- ! INSTALL = cp
- ! DEVNULL = /dev/null
- !
- ! SUBDIRS = src man
- ! BINSS = procmail lockfile formail mailstat
- ! MANS1S = procmail formail lockfile
- ! MANS5S = procmailrc procmailsc procmailex
- !
- ! # Makefile.1 - mark, don't (re)move this, a sed script needs it
- !
- ! FGREP = fgrep
- ! CFLAGS = $(CFLAGS1)
- ! LDFLAGS = $(LDFLAGS1) -lm -lsocket -lsun -lgen -ldl -lc
- !
- ! BINS= new/procmail new/lockfile new/formail new/mailstat
- ! MANS= new/procmail.1 new/formail.1 new/lockfile.1 new/procmailrc.5 new/procmailsc.5 new/procmailex.5
- ! MANS1= procmail.$(MAN1SUFFIX) formail.$(MAN1SUFFIX) lockfile.$(MAN1SUFFIX)
- ! MANS5= procmailrc.$(MAN5SUFFIX) procmailsc.$(MAN5SUFFIX) procmailex.$(MAN5SUFFIX)
- ! MANSS= procmail.1 formail.1 lockfile.1 procmailrc.5 procmailsc.5 procmailex.5
- ! NBINS= ../new/procmail ../new/lockfile ../new/formail ../new/mailstat
- ! NMANS= ../new/procmail.1 ../new/formail.1 ../new/lockfile.1 ../new/procmailrc.5 ../new/procmailsc.5 ../new/procmailex.5
-
- !
- ! #$Id: Makefile.0,v 1.9 1994/09/27 15:03:36 berg Exp $
- !
- ! all: $(MANSS)
- !
- ! make:
- ! @$(SHELL) -c "exit 0"
-
- .PRECIOUS: Makefile
-
- ! ../config.check:
- ! @cd ..; $(MAKE) config.check
- !
- ! man.sed: man_sed
- !
- ! man_sed:
- ! @cd ../src; $(MAKE) ../man/man.sed
- !
- ! clean:
- ! $(RM) $(MANSS) man.sed* _Makefile *core*
- !
- ! Makefile: ../Makefile Makefile.0
- ! @echo "You have made changes to the master Makefile, in order for"
- ! @echo "these changes to show through, you will first have to do:"
- ! @echo "$(MAKE) makefiles"
- !
- ! makefiles Makefiles makefile:
- ! cd ..; $(MAKE) makefiles
- !
- ! init:
- ! cd ..; $(MAKE) $@
-
- ! ../new/procmail.1: procmail.1 ../config.check
- ! @test -d ../new || mkdir ../new
- ! @$(RM) $@
- ! $(LN) ../man/procmail.1 $@
- !
- ! ../new/formail.1: formail.1 ../config.check
- ! @test -d ../new || mkdir ../new
- ! @$(RM) $@
- ! $(LN) ../man/formail.1 $@
- !
- ! ../new/lockfile.1: lockfile.1 ../config.check
- ! @test -d ../new || mkdir ../new
- ! @$(RM) $@
- ! $(LN) ../man/lockfile.1 $@
- !
- ! ../new/procmailrc.5: procmailrc.5 ../config.check
- ! @test -d ../new || mkdir ../new
- ! @$(RM) $@
- ! $(LN) ../man/procmailrc.5 $@
- !
- ! ../new/procmailsc.5: procmailsc.5 ../config.check
- ! @test -d ../new || mkdir ../new
- ! @$(RM) $@
- ! $(LN) ../man/procmailsc.5 $@
- !
- ! ../new/procmailex.5: procmailex.5 ../config.check
- ! @test -d ../new || mkdir ../new
- ! @$(RM) $@
- ! $(LN) ../man/procmailex.5 $@
- !
- ! procmail.1: procmail.man man.sed mansed
- ! $(SHELL) ./mansed $(SHELL) procmail.man $@ "$(RM)" $(DEVNULL)
- !
- ! formail.1: formail.man man.sed mansed
- ! $(SHELL) ./mansed $(SHELL) formail.man $@ "$(RM)" $(DEVNULL)
- !
- ! lockfile.1: lockfile.man man.sed mansed
- ! $(SHELL) ./mansed $(SHELL) lockfile.man $@ "$(RM)" $(DEVNULL)
- !
- ! procmailrc.5: procmailrc.man man.sed mansed
- ! $(SHELL) ./mansed $(SHELL) procmailrc.man $@ "$(RM)" $(DEVNULL)
- !
- ! procmailsc.5: procmailsc.man man.sed mansed
- ! $(SHELL) ./mansed $(SHELL) procmailsc.man $@ "$(RM)" $(DEVNULL)
- !
- ! procmailex.5: procmailex.man man.sed mansed
- ! $(SHELL) ./mansed $(SHELL) procmailex.man $@ "$(RM)" $(DEVNULL)
- ! #
- *** ./src/Makefile Wed Aug 24 11:52:04 1994
- --- ../procmail-3.11pre7/./src/Makefile Fri Aug 21 03:14:10 1998
- ***************
- *** 1,17 ****
- - #$Id: Makefile,v 1.8 1994/08/24 18:52:04 berg Exp $
-
- ! all: init
- ! $(MAKE) make $@
-
- ! # The only real thing that can be made right now is:
-
- ! init:
- ! cd ..; $(MAKE) make init
-
- .PRECIOUS: Makefile
-
- ! Makefile makefile Makefiles makefiles: init
-
- ! procmail lockfile formail multigram mailstat setid ../autoconf.h \
- ! autoconf.h: init
- ! $(MAKE) make $@
- --- 1,268 ----
-
- ! LOCKINGTEST=__defaults__
-
- ! #LOCKINGTEST=/tmp . # Uncomment and add any directories you see fit.
- ! # If LOCKINGTEST is defined, autoconf will NOT
- ! # prompt you to enter additional directories.
- ! # See INSTALL for more information about the
- ! # significance of the locking tests.
-
- ! ########################################################################
- ! # Only edit below this line if you *think* you know what you are doing #
- ! ########################################################################
- !
- ! #LOCKINGTEST=100 # Uncomment (and change) if you think you know
- ! # it better than the autoconf lockingtests.
- ! # This will cause the lockingtests to be hotwired.
- ! # 100 to enable fcntl()
- ! # 010 to enable lockf()
- ! # 001 to enable flock()
- ! # Or them together to get the desired combination.
- !
- ! # Optional system libraries we search for
- ! SEARCHLIBS = -lm -ldir -lx -lsocket -lnet -linet -lnsl_s -lnsl_i -lnsl -lsun \
- ! -lgen -lsockdns -ldl
- ! # -lresolv # not really needed, is it?
- !
- ! # Informal list of directories where we look for the libraries in SEARCHLIBS
- ! LIBPATHS=/lib /usr/lib /usr/local/lib
- !
- ! GCC_WARNINGS = -O2 -pedantic -Wreturn-type -Wunused -Wformat -Wtraditional \
- ! -Wpointer-arith -Wconversion -Waggregate-return \
- ! #-Wimplicit -Wshadow -Wid-clash-6 #-Wuninitialized
- !
- ! # The place to put your favourite extra cc flag
- ! CFLAGS0 = -O #$(GCC_WARNINGS)
- ! LDFLAGS0= -s
- ! # Read my libs :-)
- ! LIBS=
- !
- ! CFLAGS1 = $(CFLAGS0) #-posix -Xp
- ! LDFLAGS1= $(LDFLAGS0) $(LIBS) #-lcposix
- !
- ! ####CC = cc # gcc
- ! # object file extension
- ! O = o
- ! RM = /bin/rm -f
- ! MV = mv -f
- ! LN = ln
- ! BSHELL = /bin/sh
- ! INSTALL = cp
- ! DEVNULL = /dev/null
- !
- ! SUBDIRS = src man
- ! BINSS = procmail lockfile formail mailstat
- ! MANS1S = procmail formail lockfile
- ! MANS5S = procmailrc procmailsc procmailex
- !
- ! # Makefile.1 - mark, don't (re)move this, a sed script needs it
- !
- ! FGREP = fgrep
- ! CFLAGS = $(CFLAGS1)
- ! LDFLAGS = $(LDFLAGS1) -lm -lsocket -lsun -lgen -ldl -lc
- !
- ! BINS= new/procmail new/lockfile new/formail new/mailstat
- ! MANS= new/procmail.1 new/formail.1 new/lockfile.1 new/procmailrc.5 new/procmailsc.5 new/procmailex.5
- ! MANS1= procmail.$(MAN1SUFFIX) formail.$(MAN1SUFFIX) lockfile.$(MAN1SUFFIX)
- ! MANS5= procmailrc.$(MAN5SUFFIX) procmailsc.$(MAN5SUFFIX) procmailex.$(MAN5SUFFIX)
- ! MANSS= procmail.1 formail.1 lockfile.1 procmailrc.5 procmailsc.5 procmailex.5
- ! NBINS= ../new/procmail ../new/lockfile ../new/formail ../new/mailstat
- ! NMANS= ../new/procmail.1 ../new/formail.1 ../new/lockfile.1 ../new/procmailrc.5 ../new/procmailsc.5 ../new/procmailex.5
- !
- ! #$Id: Makefile.0,v 1.49 1997/04/28 00:27:44 srb Exp $
- !
- ! PM_OBJ=cstdio.$(O) common.$(O) exopen.$(O) goodies.$(O) locking.$(O) \
- ! mailfold.$(O) misc.$(O) pipes.$(O) regexp.$(O) robust.$(O) sublib.$(O) \
- ! acommon.$(O) mcommon.$(O) lastdirsep.$(O) authenticate.$(O)
- ! LF_OBJ=exopen.$(O) sublib.$(O) acommon.$(O) mcommon.$(O) authenticate.$(O)
- ! FM_OBJ=common.$(O) fields.$(O) formisc.$(O) sublib.$(O) ecommon.$(O) \
- ! acommon.$(O)
- ! MG_OBJ=sublib.$(O) ecommon.$(O) mcommon.$(O) hsort.$(O) lastdirsep.$(O)
- !
- ! all: $(BINSS)
- !
- ! make: # fake target
- ! @$(SHELL) -c "exit 0"
-
- .PRECIOUS: Makefile
-
- ! procmail: procmail.$(O) $(PM_OBJ) setid
- ! $(CC) $(CFLAGS) $@.$(O) $(PM_OBJ) -o $@ $(LDFLAGS)
- !
- ! lockfile: lockfile.$(O) $(LF_OBJ)
- ! $(CC) $(CFLAGS) $@.$(O) $(LF_OBJ) -o $@ $(LDFLAGS)
- !
- ! formail: formail.$(O) $(FM_OBJ)
- ! $(CC) $(CFLAGS) $@.$(O) $(FM_OBJ) -o $@ $(LDFLAGS)
- !
- ! mailstat: ../examples/mailstat
- ! cp ../examples/$@ $@
- ! @chmod 0755 $@
- !
- ! multigram: multigram.$(O) $(MG_OBJ) setid
- ! $(CC) $(CFLAGS) $@.$(O) $(MG_OBJ) -o $@ $(LDFLAGS)
- !
- ! ../config.check:
- ! @cd ..; $(MAKE) config.check
- !
- ! _autotst: _autotst.$(O) sublib.c sublib.h
- ! $(CC) $(CFLAGS) $@.$(O) -o $@ $(LDFLAGS)
- !
- ! ../autoconf.h: autoconf Makefile
- ! @echo No this was not make -n >make_n
- ! $(SHELL) ./autoconf $(SHELL) "$(RM)" "$(MV)" $(DEVNULL) \
- ! "$(FGREP)" "$(MAKE)" $(O) "$(LOCKINGTEST)" \
- ! "$(VISIBLE_BINDIR)" $@
- !
- ! autoconf.h: ../autoconf.h
- !
- ! targetdir.h:
- ! echo "You only can/need to make multigram if you are installing"
- ! echo "the mailinglist scripts. Read ../SmartList/INSTALL for"
- ! echo "more directions."
- ! exit 64
- !
- ! acommon.$(O): ../autoconf.h ../config.h includes.h acommon.h robust.h shell.h
- !
- ! authenticate.$(O): ../autoconf.h ../config.h includes.h robust.h shell.h
- ! authenticate.$(O): misc.h authenticate.h authenticate.c
- ! $(CC) -c -DPROCMAIL $(CFLAGS) $*.c
- !
- ! common.$(O): ../autoconf.h ../config.h includes.h procmail.h sublib.h robust.h
- ! common.$(O): shell.h misc.h common.h
- !
- ! cstdio.$(O): ../autoconf.h ../config.h includes.h procmail.h robust.h cstdio.h
- ! cstdio.$(O): misc.h
- !
- ! ecommon.$(O): ../autoconf.h ../config.h includes.h ecommon.h common.h shell.h
- !
- ! exopen.$(O): ../autoconf.h ../config.h includes.h procmail.h acommon.h robust.h
- ! exopen.$(O): misc.h exopen.h
- !
- ! fields.$(O): ../autoconf.h ../config.h includes.h formail.h sublib.h shell.h
- ! fields.$(O): common.h fields.h ecommon.h formisc.h
- !
- ! formail.$(O): ../autoconf.h ../config.h includes.h formail.h acommon.h sublib.h
- ! formail.$(O): shell.h common.h fields.h ecommon.h formisc.h header.h
- !
- ! formisc.$(O): ../autoconf.h ../config.h includes.h formail.h sublib.h shell.h
- ! formisc.$(O): common.h ecommon.h formisc.h
- !
- ! goodies.$(O): ../autoconf.h ../config.h includes.h procmail.h sublib.h robust.h
- ! goodies.$(O): shell.h misc.h pipes.h common.h cstdio.h goodies.h
- !
- ! hsort.$(O): ../autoconf.h ../config.h includes.h hsort.h
- !
- ! lastdirsep.$(O): ../autoconf.h ../config.h includes.h lastdirsep.h
- !
- ! lockfile.$(O): ../autoconf.h ../config.h includes.h sublib.h exopen.h mcommon.h
- ! lockfile.$(O): authenticate.h
- !
- ! locking.$(O): ../autoconf.h ../config.h includes.h procmail.h robust.h shell.h
- ! locking.$(O): misc.h pipes.h exopen.h locking.h lastdirsep.h
- !
- ! mailfold.$(O): ../autoconf.h ../config.h includes.h procmail.h acommon.h
- ! mailfold.$(O): sublib.h robust.h shell.h misc.h pipes.h common.h exopen.h
- ! mailfold.$(O): goodies.h locking.h mailfold.h
- !
- ! mcommon.$(O): ../autoconf.h ../config.h includes.h mcommon.h
- !
- ! misc.$(O): ../autoconf.h ../config.h includes.h procmail.h acommon.h sublib.h
- ! misc.$(O): robust.h shell.h misc.h pipes.h common.h cstdio.h exopen.h regexp.h
- ! misc.$(O): mcommon.h goodies.h locking.h network.h mailfold.h lastdirsep.h
- ! misc.$(O): authenticate.h
- !
- ! multigram.$(O): ../autoconf.h ../config.h includes.h sublib.h hsort.h shell.h
- ! multigram.$(O): ecommon.h mcommon.h lastdirsep.h targetdir.h
- !
- ! pipes.$(O): ../autoconf.h ../config.h includes.h procmail.h robust.h shell.h
- ! pipes.$(O): misc.h pipes.h common.h cstdio.h exopen.h mcommon.h goodies.h
- ! pipes.$(O): mailfold.h
- !
- ! procmail.$(O): ../patchlevel.h ../autoconf.h ../config.h includes.h procmail.h
- ! procmail.$(O): acommon.h sublib.h robust.h shell.h misc.h pipes.h common.h
- ! procmail.$(O): cstdio.h exopen.h regexp.h mcommon.h goodies.h locking.h
- ! procmail.$(O): mailfold.h lastdirsep.h authenticate.h
- !
- ! regexp.$(O): ../autoconf.h ../config.h includes.h procmail.h sublib.h robust.h
- ! regexp.$(O): shell.h misc.h regexp.h goodies.h
- !
- ! robust.$(O): ../autoconf.h ../config.h includes.h procmail.h robust.h shell.h
- ! robust.$(O): misc.h pipes.h common.h mailfold.h shell.h
- !
- ! sublib.$(O): ../autoconf.h ../config.h includes.h sublib.h shell.h
- !
- ! gethome.$(O) setid.$(O) recommend.$(O): ../autoconf.h ../config.h includes.h
- !
- ! gethome.$(O): gethome.c
- ! @$(CC) -c $(CFLAGS) $*.c
- !
- ! setid.$(O): setid.c
- ! @$(CC) -c $(CFLAGS) $*.c
- !
- ! recommend.$(O): recommend.c
- ! @$(CC) -c $(CFLAGS) $*.c
- !
- ! .c.$(O):
- ! $(CC) -c $(CFLAGS) $<
- !
- ! gethome: gethome.$(O) setid
- ! @$(CC) $(CFLAGS) $@.$(O) -o $@ $(LDFLAGS)
- !
- ! getparams:
- ! @echo "ln=\"$(LN)\"" >../SmartList/targetdir.tmp
- !
- ! setid: setid.$(O)
- ! @$(CC) $(CFLAGS) $@.$(O) -o $@ $(LDFLAGS)
- !
- ! recommend: recommend.$(O) sublib.$(O)
- ! @$(CC) $(CFLAGS) $@.$(O) sublib.$(O) -o $@ $(LDFLAGS)
- !
- ! ../man/man.sed: manconf.c ../autoconf.h ../config.h includes.h procmail.h
- ! ../man/man.sed: ../patchlevel.h lastdirsep.h lastdirsep.$(O)
- ! @$(CC) $(CFLAGS) "-DBINDIR=\"$(VISIBLE_BINDIR)\"" -o _autotst \
- ! manconf.c lastdirsep.$(O) $(LDFLAGS)
- ! @./_autotst $@
- ! @echo Housekeeping file >$@
- ! @$(RM) _autotst
- !
- ! clean:
- ! $(RM) -r _locktest
- ! $(RM) procmail.$(O) $(PM_OBJ) lockfile.$(O) $(LF_OBJ) formail.$O \
- ! $(FM_OBJ) multigram.$(O) $(MG_OBJ) $(BINSS) multigram ../autoconf.h \
- ! _autotst* lookfor _locktst* grepfor recommend recommend.$(O) manconf \
- ! _Makefile lock.log *core* targetdir.h setid setid.$(O) gethome \
- ! gethome.$(O) make_n
- !
- ! Makefile: ../Makefile Makefile.0
- ! @echo "You have made changes to the master Makefile, in order for"
- ! @echo "these changes to show through, you will first have to do:"
- ! @echo "$(MAKE) makefiles"
- !
- ! makefiles Makefiles makefile:
- ! cd ..; $(MAKE) makefiles
- !
- ! init:
- ! cd ..; $(MAKE) $@
- ! VISIBLE_BINDIR=/usr/freeware/bin
- !
- ! ../new/procmail: procmail ../config.check
- ! @test -d ../new || mkdir ../new
- ! @$(RM) $@
- ! $(LN) ../src/procmail $@
- !
- ! ../new/lockfile: lockfile ../config.check
- ! @test -d ../new || mkdir ../new
- ! @$(RM) $@
- ! $(LN) ../src/lockfile $@
- !
- ! ../new/formail: formail ../config.check
- ! @test -d ../new || mkdir ../new
- ! @$(RM) $@
- ! $(LN) ../src/formail $@
-
- ! ../new/mailstat: mailstat ../config.check
- ! @test -d ../new || mkdir ../new
- ! @$(RM) $@
- ! $(LN) ../src/mailstat $@
- ! #
- *** ./Makefile Sun Apr 27 17:27:40 1997
- --- ../procmail-3.11pre7/./Makefile Fri Aug 21 03:14:09 1998
- ***************
- *** 109,138 ****
- MANS1S = procmail formail lockfile
- MANS5S = procmailrc procmailsc procmailex
-
- ! # Makefile - mark, don't (re)move this, a sed script needs it
-
- ! all: init
- ! $(MAKE) make $@
-
- make:
- ! @$(BSHELL) -c "exit 0"
-
- .PRECIOUS: Makefile
-
- ! init:
- ! $(BSHELL) ./initmake $(BSHELL) "$(SHELL)" "$(RM)" "$(MV)" "$(LN)" \
- ! "$(SEARCHLIBS)" \
- ! "$(LIBPATHS)" \
- ! $(DEVNULL) "$(MAKE)" $(O) \
- ! "$(CC)" "$(CFLAGS1)" "$(LDFLAGS1)" "$(BINSS)" \
- ! "$(MANS1S)" \
- ! "$(MANS5S)" "$(SUBDIRS)" \
- ! "$(VISIBLE_BINDIR)"
- !
- ! makefiles makefile Makefiles Makefile: init
- ! @$(BSHELL) -c "exit 0"
- !
- ! help target targets \
- ! bins mans install.bin install.man install recommend install-suid clean setid \
- ! realclean veryclean clobber deinstall autoconf.h $(BINSS) multigram: init
- ! $(MAKE) make $@
- --- 109,289 ----
- MANS1S = procmail formail lockfile
- MANS5S = procmailrc procmailsc procmailex
-
- ! # Makefile.1 - mark, don't (re)move this, a sed script needs it
-
- ! FGREP = fgrep
- ! CFLAGS = $(CFLAGS1)
- ! LDFLAGS = $(LDFLAGS1) -lm -lsocket -lsun -lgen -ldl -lc
- !
- ! BINS= new/procmail new/lockfile new/formail new/mailstat
- ! MANS= new/procmail.1 new/formail.1 new/lockfile.1 new/procmailrc.5 new/procmailsc.5 new/procmailex.5
- ! MANS1= procmail.$(MAN1SUFFIX) formail.$(MAN1SUFFIX) lockfile.$(MAN1SUFFIX)
- ! MANS5= procmailrc.$(MAN5SUFFIX) procmailsc.$(MAN5SUFFIX) procmailex.$(MAN5SUFFIX)
- ! MANSS= procmail.1 formail.1 lockfile.1 procmailrc.5 procmailsc.5 procmailex.5
- ! NBINS= ../new/procmail ../new/lockfile ../new/formail ../new/mailstat
- ! NMANS= ../new/procmail.1 ../new/formail.1 ../new/lockfile.1 ../new/procmailrc.5 ../new/procmailsc.5 ../new/procmailex.5
- !
- ! #$Id: Makefile.1,v 1.49 1996/12/21 03:28:05 srb Exp $
- !
- ! all: bins mans recommend
- ! @echo If you would like to inspect the results before running make \
- ! install:
- ! @echo All installable files can be found in the new/ subdirectory.
-
- make:
- ! @$(SHELL) -c "exit 0"
-
- .PRECIOUS: Makefile
-
- ! help target targets:
- ! @sed "/^##*\*#$$/,/^##*\*#$$/ !d" <Makefile
- !
- ! bins: autoconf.h config.check src/Makefile
- ! cd src; $(MAKE) $(NBINS)
- !
- ! mans: autoconf.h config.check man/Makefile
- ! cd man; $(MAKE) $(NMANS)
- !
- ! autoconf.h: src/Makefile src/autoconf
- ! cd src; $(MAKE) ../$@
- !
- ! procmail: autoconf.h config.check src/Makefile man/Makefile
- ! cd src; $(MAKE) ../new/$@ ../new/mailstat
- ! cd man; $(MAKE) ../new/$@.1 ../new/$@rc.5 ../new/$@ex.5 ../new/$@sc.5
- !
- ! mailstat: procmail
- !
- ! formail lockfile: autoconf.h config.check src/Makefile man/Makefile
- ! cd src; $(MAKE) ../new/$@
- ! cd man; $(MAKE) ../new/$@.1
- !
- ! setid multigram: autoconf.h config.check src/Makefile man/Makefile
- ! cd src; $(MAKE) $@
- !
- ! config.check: config.h
- ! echo Housekeeping file >$@
- ! mkdir new 2>$(DEVNULL); exit 0
- ! @-if $(FGREP) -n -e '`' config.h $(DEVNULL) | $(FGREP) -v EOFName ; \
- ! then \
- ! echo;echo ' ^^^^^^^^^^^^^^^^^^^^ WARNING ^^^^^^^^^^^^^^^^^^^^^';\
- ! echo ' * Having backquotes in there could be unhealthy! *';\
- ! echo;fi;exit 0
- !
- ! recommend: autoconf.h src/Makefile
- ! @cd src; $(MAKE) $@
- ! @echo ================================================================\
- ! ===============
- ! @if $(FGREP) CF_no_procmail_yet autoconf.h >$(DEVNULL); \
- ! then echo If you are a system administrator you should consider \
- ! integrating procmail; echo into the mail-delivery system -- for advanced \
- ! functionality, speed AND; echo SECURITY "--. For" more information about \
- ! this topic you should look in the; echo examples/advanced file.; elif \
- ! cat /usr/lib/sendmail.cf /etc/sendmail.cf 2>$(DEVNULL) | \
- ! grep 'Mlocal.*procmail.*F=[a-zA-Z]*u' >$(DEVNULL) ; then \
- ! echo The recommendation for the sendmail.cf entry of procmail has \
- ! changed.; echo I suggest you remove the '`u'"'"-flag 'like in:'; echo ; \
- ! sed -n 's/.*\(Mlocal.*procmail.*F=[a-zA-Z]*\)u/\1/p' `if test -f \
- ! /etc/sendmail.cf; then echo /etc/sendmail.cf; else \
- ! echo /usr/lib/sendmail.cf; fi`; fi
- ! @echo
- ! @echo \
- ! "Also, HIGHLY RECOMMENDED (type 'make install-suid' to execute it):"
- ! @echo
- ! @src/$@ $(BINDIR)/procmail $(BINDIR)/lockfile >suid.sh
- ! @src/$@ $(BINDIR)/procmail $(BINDIR)/lockfile
- ! @echo ================================================================\
- ! ===============
- !
- ! suid.sh: recommend
- !
- ! install-suid: suid.sh install.bin
- ! @cat suid.sh
- ! @$(SHELL) ./suid.sh
- ! @cd $(BINDIR); echo Installed in $(BINDIR); ls -l $(BINSS)
- !
- ! $(MANS): mans
- !
- ! $(BINS): bins
- !
- ! $(BASENAME):
- ! mkdir $(BASENAME)
- !
- ! install.man: $(MANS) $(BASENAME)
- ! @-mkdir $(MANDIR) 2>$(DEVNULL); exit 0
- ! @-test -d $(MAN1DIR) || $(RM) $(MAN1DIR); exit 0
- ! @-mkdir $(MAN1DIR) 2>$(DEVNULL); exit 0
- ! @-test -d $(MAN5DIR) || $(RM) $(MAN5DIR); exit 0
- ! @-mkdir $(MAN5DIR) 2>$(DEVNULL); exit 0
- ! @chmod 0644 $(MANS)
- ! @for a in $(MANS1S); \
- ! do $(INSTALL) new/$$a.1 $(MAN1DIR)/$$a.$(MAN1SUFFIX) || exit 1; \
- ! if test "X$(MANCOMPRESS)" != "X"; \
- ! then $(MANCOMPRESS) -c new/$$a.1 >$(MAN1DIR)/$$a.$(MAN1SUFFIX); \
- ! else :; fi; \
- ! done
- ! @for a in $(MANS5S); \
- ! do $(INSTALL) new/$$a.5 $(MAN5DIR)/$$a.$(MAN5SUFFIX) || exit 1; \
- ! if test "X$(MANCOMPRESS)" != "X"; \
- ! then $(MANCOMPRESS) -c new/$$a.5 >$(MAN5DIR)/$$a.$(MAN5SUFFIX); \
- ! else :; fi; \
- ! done
- ! echo Housekeeping file >install.man
- !
- ! install.bin: $(BINS) $(BASENAME)
- ! @-mkdir $(BINDIR) 2>$(DEVNULL); exit 0
- ! @chmod 0755 $(BINS)
- ! $(INSTALL) $(BINS) $(BINDIR)
- ! @-dirname / >$(DEVNULL) || $(INSTALL) examples/dirname $(BINDIR)
- ! echo Housekeeping file >install.bin
- !
- ! install:
- ! @$(MAKE) install.man install.bin
- ! @echo
- ! @cd $(BINDIR); echo Installed in $(BINDIR); ls -l $(BINSS)
- ! @cd $(MAN1DIR); echo Installed in $(MAN1DIR); ls -l $(MANS1)
- ! @cd $(MAN5DIR); echo Installed in $(MAN5DIR); ls -l $(MANS5)
- ! @$(MAKE) recommend
- !
- ! deinstall:
- ! @echo ============================= Deinstalling the procmail package.
- ! @$(RM) install.man install.bin
- ! @echo ============================= Checking if everything was removed:
- ! @-cd $(BINDIR); $(RM) $(BINSS); ls -l $(BINSS); exit 0
- ! @-cd $(MAN1DIR); $(RM) $(MANS1); ls -l $(MANS1); exit 0
- ! @-cd $(MAN5DIR); $(RM) $(MANS5); ls -l $(MANS5); exit 0
- ! @echo ============================= Ready.
- !
- ! clean: config.check
- ! -for a in $(SUBDIRS); do cd $$a; $(MAKE) $@; cd ..; done; exit 0
- ! cd SmartList; $(RM) targetdir.h targetdir.tmp install.list asked.patch
- ! $(RM) $(MANS) $(BINS) install.man install.bin suid.sh _Makefile \
- ! *core* autoconf.h.tmp
- !
- ! realclean: clean _init
- ! $(RM) config.check
- ! -rmdir new; exit 0
- ! -for a in $(SUBDIRS); do $(MV) $$a/Makefile.init $$a/Makefile; done; \
- ! exit 0
- !
- ! veryclean clobber: realclean
- !
- ! _init:
- ! sed -e '/^# Makefile.1 - mark/,$$ d' <Makefile >_Makefile
- ! cat Makefile.0 >>_Makefile
- ! $(MV) _Makefile Makefile
- ! $(RM) Makefile.0
- !
- ! man/Makefile: man/Makefile.0 Makefile
- !
- ! src/Makefile: src/Makefile.0 Makefile
- !
- ! HIDEMAKE=$(MAKE)
- !
- ! man/Makefile src/Makefile Makefile: Makefile.1 initmake
- ! sed -e '/^# Makefile.1 - mark/,$$ d' <Makefile >_Makefile
- ! cat Makefile.0 >>_Makefile
- ! $(MV) _Makefile Makefile
- ! $(RM) Makefile.0
- ! $(HIDEMAKE) init
- !
- ! init makefiles Makefiles makefile: man/Makefile src/Makefile
- *** ./config.h Sun Apr 27 17:27:41 1997
- --- ../procmail-3.11pre7/./config.h Fri Aug 21 02:56:19 1998
- ***************
- *** 16,24 ****
- * environment variables ending in an _ will designate the whole group starting
- * with this prefix (e.g. "LC_").
- */
- ! #define KEEPENV {"TZ",0}
-
- ! /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* uncomment and/or
- change if you
- do not want the autoconf generated defPATH setting to be used in
- PRESTENV below. */
- --- 16,24 ----
- * environment variables ending in an _ will designate the whole group starting
- * with this prefix (e.g. "LC_").
- */
- ! #define KEEPENV {"TZ","LANG",0}
-
- ! #define DEFPATH "PATH=/usr/freeware/bin:/usr/sbin:/usr/bsd:/sbin:/usr/bin:/usr/bin/X11:" /* uncomment and/or
- change if you
- do not want the autoconf generated defPATH setting to be used in
- PRESTENV below. */
- ***************
- *** 71,81 ****
- is not found, maildelivery will proceed as normal to the default
- system mailbox. */
-
- ! #define ETCRC "/etc/procmailrc" /* optional global procmailrc startup
- file (will only be read if procmail
- is started with no rcfile on the command line). */
-
- ! #define ETCRCS "/etc/procmailrcs/" /* optional trusted path prefix for
- rcfiles which will be executed with
- the uid of the owner of the rcfile (this only happens if procmail is
- called with the -m option, without variable assignments on the command
- --- 71,81 ----
- is not found, maildelivery will proceed as normal to the default
- system mailbox. */
-
- ! #define ETCRC "/usr/freeware/lib/procmail/procmailrc" /* optional global procmailrc startup
- file (will only be read if procmail
- is started with no rcfile on the command line). */
-
- ! #define ETCRCS "/usr/freeware/lib/procmail/procmailrcs/" /* optional trusted path prefix for
- rcfiles which will be executed with
- the uid of the owner of the rcfile (this only happens if procmail is
- called with the -m option, without variable assignments on the command
-